package com.woniuxy.lrz.carlproject.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 服务车型中间表
 * </p>
 *
 * @author lrz
 * @since 2022-09-28
 */
@TableName("good_car")
@ApiModel(value = "GoodCar对象", description = "商品车型中间表")
public class GoodCar implements Serializable{

    @TableId(value = "good_car_id", type = IdType.AUTO)
    private Integer goodCarId;

    @ApiModelProperty("商品id")
    private Integer goodId;

    @ApiModelProperty("车型详情id")
    private Integer carDetailId;

    public Integer getGoodCarId() {
        return goodCarId;
    }

    public void seGoodCarId(Integer goodCarId) {
        this.goodCarId = goodCarId;
    }

    public Integer getGoodId() {
        return goodId;
    }

    public void setGoodId(Integer goodId) {
        this.goodId = goodId;
    }

    public Integer getCarDetailId() {
        return carDetailId;
    }

    public void setCarDetailId(Integer carDetailId) {
        this.carDetailId = carDetailId;
    }

    @Override
    public String toString() {
        return "GoodCar{" +
        "goodCarId = " + goodCarId +
        ", goodId = " + goodId +
        ", carDetailId = " + carDetailId +
        "}";
    }
}
